home *** CD-ROM | disk | FTP | other *** search
- on BLUEADD
- global GRIDY, GRIDV, GRIDH, KK, KKK, KN, NU, SOND, DT
- set DT to 35
- set NU to 0
- set KK to 0
- repeat while KK = 0
- set NU to NU + 1
- set KKK to random(10)
- set KN to (KKK * 14) - 13
- if NU > 150 then
- set KN to random(12)
- end if
- if getAt(GRIDV, KN) = 0 then
- set KK to KN
- end if
- end repeat
- if SOND = 0 then
- puppetSound("WISH")
- end if
- set the locH of sprite 10 to getAt(GRIDH, KN)
- set the locV of sprite 10 to getAt(GRIDY, KN)
- setAt(GRIDV, KN, 2)
- repeat with N = 1 to 3
- if N = 1 then
- set the castNum of sprite 10 to 198
- end if
- if N = 2 then
- set the castNum of sprite 10 to 197
- end if
- if N = 3 then
- set the castNum of sprite 10 to 9
- end if
- updateStage()
- COUNTTIME()
- end repeat
- REMOVESPRITE()
- end
-